package businesslogic.coursebl;

import java.util.ArrayList;
import po.*;
import vo.*;
import businesslogicservice.courseblservice.CourseBLService;

public class CourseController implements CourseBLService {

	Course course;

	public CourseController() {
		course = new Course();
	}

	public Message publishCourse(CourseVO vo) {
		return course.publishCourse(vo);
	}

	@Override
	public Message deleteCourse(String courseId) {
		return course.deleteCourse(courseId);
	}

	@Override
	public Message modifyCourse(CourseVO vo) {
		return course.modifyCourse(vo);
	}

	@Override
	public ArrayList<CourseVO> findCourse(Institute institute) {
		return course.findCourse(institute);
	}

	@Override
	public Message publishLesson(LessonVO vo) {
		return course.publishLesson(vo);
	}

	@Override
	public Message deleteLesson(String lessonId, String term) {
		return course.deleteLesson(lessonId, term);
	}

	@Override
	public Message modifyLesson(LessonVO vo) {
		return course.modifyLesson(vo);
	}

	@Override
	public LessonVO findLesson(String lessonId, String term) {
		return course.findLesson(lessonId, term);
	}

	@Override
	public LessonPO findLessonPO(String lessonId, String term) {
		return course.findLessonPO(lessonId, term);
	}

	@Override
	public ArrayList<LessonVO> findLesson(String teacherId) {
		return course.findLesson(teacherId);
	}

	@Override
	public ArrayList<LessonVO> findLesson(Institute institute, String term) {
		return course.findLesson(institute, term);
	}

	@Override
	public ArrayList<LessonPO> findLesson(CourseClassification type, String term) {
		return course.findLesson(type, term);
	}

	@Override
	public ArrayList<LessonPO> findLesson(CourseClassification type,
			String term, Institute institute) {
		return course.findLesson(type, term, institute);
	}

	@Override
	public ArrayList<LessonVO> findLesson(CourseClassification type,
			String term, Institute institute, Grade grade) {
		return course.findLesson(type, term, institute, grade);
	}

}
